//Code_Generator.h

#ifndef CODE_GENERATOR_H
#define CODE_GENERATOR_H
#include "../headers/CSingleton.h"
#include "../headers/Data.h"
#include <string>

using namespace std;

class Code_Generator : public CSingleton <Code_Generator>{
friend class CSingleton<Code_Generator>; 
private:
	Code_Generator(void){
		_ptrCount=0;
		_countLeft=0;
	}
	~Code_Generator(){};
	string _sTmp;
	int _ptrCount;
	int _countLeft;

public:
	void Set_ptrCount(int);
	void Set_countLeft(int);
	string Translate(string);
	void Process(Data<ifstream>&,Data<ofstream>&);
}; 
#endif // CODE_GENERATOR_H
